package com.flame.ai.pdf.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author Jflame
 * @version 1.0.0
 * @since 2025/8/25
 */
@Setter
@Getter
@Configuration
@ConfigurationProperties(prefix = "spring.ai.pdf.mineru")
public class PdfMineruProperties {

    private String apiUrl = "http://127.0.0.1:8000/file_parse";

    /**
     * Default is ./output
     */
    private String outputDir = "./output";

    private String langList = "ch";

    private String backend = "pipeline";

    private String parseMethod = "auto";

    private String formulaEnable = "true";

    private String tableEnable = "true";

    private int startPageId = 0;

    private int endPageId = 99999;


}
